package com.citycloud.ccuap.tc.admin.repository;

import org.apache.ibatis.annotations.Param;
import org.springframework.data.mybatis.repository.support.MybatisRepository;
import org.springframework.stereotype.Repository;

import com.citycloud.ccuap.tc.admin.entity.SysApp;


/**
 * 应用数据库操作
 * @author sufeng
 *
 */

@Repository
public interface SysAppRepository extends MybatisRepository<SysApp, String> {
    SysApp findByClientIdOrderByAppIdDesc(@Param("clientId") String clientId);
    int deleteByClientId(@Param("clientId") String clientId);
}